<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

    <!--<title>房产评估</title> -->
    <style type="text/css">

    </style>
    <link rel="stylesheet" href="../css/app.css"/>
</head>

<body>
<div class="mod_tad">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tbody>
        <tr>
            <td width="26%" align="right"><p id="select_title">评估值</p><br>
               </td>
            <td width="3%">&nbsp;</td>
            <td width="71%"><p><input name="" type="tel" class="inputext" id="srzrXS" onKeyUp="context();">元</p><br>
                <p id="srzrDS"></p></td>
        </tr>
        <tr>
            <td align="right"><p>标准收费</p><br>
               </td>
            <td>&nbsp;</td>
            <td><p id="bzsfSX">￥0.00</p><br>
                <p id="bzsfDX"></p></td>
        </tr>
        <tr>
            <td align="right"><p>浮动系数</p></td>
            <td>&nbsp;</td>
            <td><p><input name="" type="tel" value="100" class="inputext" id="fdxs" onKeyUp="context();">%</p></td>
        </tr>
        <tr>
            <td align="right" onclick="alert(share_computation_web())"><p>收费金额</p><br>
               </td>
            <td>&nbsp;</td>
            <td><p id="sfjrXS">￥0.00</p><br>
                <p id="sfjrDS"></p></td>
        </tr>
        </tbody>
    </table>
</div>

<br>

<div class="copy_div" id="copy_div">
    <div class="cp_btn" onclick="copyProcessFun('国家计委、建设部关于房地产中介服务收费的通知 计价格[1995] 971号');">复制过程</div>
</div>

<div id="process" class="process_div">

</div>
<div class="policy_div">
    <p>
    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">国家计委、建设部关于房地产中介服务收费的通知<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">计价格［<span lang="EN-US">1995</span>］<span lang="EN-US">971</span>号<span lang="EN-US"><o:p></o:p></span></span>
    </p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">各省、自治区、直辖市物价局（委员会）、建委（建设厅），北京、天津、上海市房地产管理局：<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">为规范房地产中介服务收费行为，维护房地产中介服务当事人的合法权益，建立房地产中介服务收费正常的市场秩序，现就房地产中介服务收费的有关问题通知如下：<span lang="EN-US"><o:p></o:p></span></span>
    </p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">一、凡依法设立并具备房地产中介资格的房地产咨询、房地产价格评估、房地产经纪等中介服务机构，为企事业单位、社会团体和其他社会组织、公民及外国当事人提供有关房地产开发投资、经营管理、消费等方面的中介服务，可向委托人收取合理的费用。<span
            lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">二、房地产中介服务收费是房地产交易市场重要的经营性服务收费。中介服务机构应当本着合理、公开、成实信用的原则，接受自愿委托，双方签订合同，依据本通知规定的收费办法和收费标准，由中介服务机构与委托方协商确定中介服务费。<span
            lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">三、房地产中介服务收费实行明码标价制度。中介服务机构应当在其经营场所或交缴费用的地点醒目位置公布其收费项目、服务内容、计费方法、收费标准等事项。<span lang="EN-US"><o:p></o:p></span></span>
    </p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">房地产中介服务机构在接受当事人委托时应当主动向当事人介绍有关中介服务的价格及服务内容等情况。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">四、房地产中介服务机构可应委托人要求，提供有关房地产政策、法规、技术等咨询服务，收取房地产咨询费。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">房地产咨询收费按服务形式，分为口头咨询费和书面咨询费两种。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">口头咨询费，按照咨询服务所需时间结合咨询人员专业技术等级由双方协商议定收费标准。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">书面咨询费，按照咨询报告的技术难度、工作繁简结合标的额大小计收。普通咨询报告 ，每份收费<span lang="EN-US">300-1000</span>元；技术难度大，情况复杂、耗用人员和时间较多的咨询报告，可适当提高收费标准，收费标准一般不超过咨询标的额的<span
            lang="EN-US">0.5%</span>。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">以上收费标准，属指导性参考价格。实际成交收费标准，由委托方与中介机构协商议定。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">五、房地产价格评估收费，由具备房地产估价资格并经房地产行政主管部门、物价主管部门确认的机构按规定的收费标准计收。<span lang="EN-US"><o:p></o:p></span></span>
    </p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">以房产为主的房地产价格评估费，区别不同情况，按照房地产的价格总额采取差额定率分档累进计收。具体收费标准见附表。<span lang="EN-US"><o:p></o:p></span></span>
    </p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">土地价格评估的收费标准，按国家计委、国家土地局《关于土地价格评估收费的通知》约有关规定执行。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">六、房地产经纪收费是房地产专业经纪人接受委托，进行居间代理所收取的佣金。房地产经纪费根据代理项目的不同实行不同的收费标准。<span lang="EN-US"><o:p></o:p></span></span>
    </p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">房屋租赁代理收费，无论成交的租赁期限长短，均按半月至一月成交租金额标准，由双方协商议定一次性计收。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">房屋买卖代理收费，按成交价格总额的<span lang="EN-US">0.5</span>—<span lang="EN-US">2.5%</span>计收。<span
            lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">实行独家代理的，收费标准由委托方与房地产中介机构协商，可适当提高，但最高不超过成交价格的<span lang="EN-US">3%</span>。<span lang="EN-US"><o:p></o:p></span></span>
    </p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">土地使用权转让代理收费办法和标准另行规定。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">房地产经纪费由房地产经纪机构向委托人收取。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">七、上述规定的房地产价格评估、房地产经纪收费为最高限标准。各省、自治区、直辖市物价、房地产行政主管部门可依据本通知制定当地具体执行的收费标准，报国家计委、建设部备案。对经济特区的收费标准可适当规定高一些，但最高不得超过上述收费标准的<span
            lang="EN-US">30%</span>。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">八、各地区、各部门和房地产中介服务机构应严格执行物价部门规定的收费原则和收费标准，切实提供质价相称的服务。<span lang="EN-US"><o:p></o:p></span></span>
    </p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">凡中介服务机构资格应经确认而未经确认、自立名目乱收费、擅自提高收费标准或越权制定、调整收费标准的，属于价格违法行为，由物价检查机构按有关法规予以处罚。<span lang="EN-US"><o:p></o:p></span></span>
    </p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">九、本通知下达以前有关规定凡与本通知相抵触的，一律以本通知为准。<span lang="EN-US"><o:p></o:p></span></span></p>

    <p class="MsoNormal" align="left"><span style="mso-bidi-font-size:
10.5pt;font-family:宋体">附表：以房产为主的房地产价格评估收费标准计算表<span lang="EN-US"><o:p></o:p></span></span></p>

    <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="margin-left:4.65pt;border-collapse:collapse;mso-yfti-tbllook:1184;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt">
        <tbody>
        <tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;height:1.0pt">
            <td style="border:solid windowtext 1.0pt;mso-border-alt:solid windowtext .5pt;
  padding:0cm 5.4pt 0cm 5.4pt;height:1.0pt">
                <p class="MsoNormal" align="left"><span style="font-family: 宋体;">序号<span lang="EN-US"><o:p></o:p></span></span>
                </p>
            </td>
            <td style="border:solid windowtext 1.0pt;border-left:none;mso-border-top-alt:
  solid windowtext .5pt;mso-border-bottom-alt:solid windowtext .5pt;mso-border-right-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:1.0pt">
                <p class="MsoNormal" align="left"><span style="font-family: 宋体;">房地产价格总额（万元）<span lang="EN-US"><o:p></o:p></span></span>
                </p>
            </td>
            <td style="border:solid windowtext 1.0pt;border-left:none;mso-border-top-alt:
  solid windowtext .5pt;mso-border-bottom-alt:solid windowtext .5pt;mso-border-right-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:1.0pt">
                <p class="MsoNormal" align="left"><span style="font-family: 宋体;">累进计费率‰<span lang="EN-US"><o:p></o:p></span></span>
                </p>
            </td>
        </tr>
        <tr style="mso-yfti-irow:1;height:1.0pt">
            <td style="border:solid windowtext 1.0pt;border-top:none;mso-border-left-alt:
  solid windowtext .5pt;mso-border-bottom-alt:solid windowtext .5pt;mso-border-right-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">1<o:p></o:p></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">100</span><span
                        style="font-family: 宋体;">以下（含<span lang="EN-US">100</span>）<span lang="EN-US"><o:p></o:p></span></span>
                </p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">5<o:p></o:p></span></p>
            </td>
        </tr>
        <tr style="mso-yfti-irow:2;height:1.0pt">
            <td style="border:solid windowtext 1.0pt;border-top:none;mso-border-left-alt:
  solid windowtext .5pt;mso-border-bottom-alt:solid windowtext .5pt;mso-border-right-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">2<o:p></o:p></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">101</span><span
                        style="font-family: 宋体;">以上至<span lang="EN-US">1000<o:p></o:p></span></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">2.5<o:p></o:p></span></p>
            </td>
        </tr>
        <tr style="mso-yfti-irow:3;height:1.0pt">
            <td style="border:solid windowtext 1.0pt;border-top:none;mso-border-left-alt:
  solid windowtext .5pt;mso-border-bottom-alt:solid windowtext .5pt;mso-border-right-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">3<o:p></o:p></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">1001</span><span
                        style="font-family: 宋体;">以上至<span lang="EN-US">2000<o:p></o:p></span></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">1.5<o:p></o:p></span></p>
            </td>
        </tr>
        <tr style="mso-yfti-irow:4;height:1.0pt">
            <td style="border:solid windowtext 1.0pt;border-top:none;mso-border-left-alt:
  solid windowtext .5pt;mso-border-bottom-alt:solid windowtext .5pt;mso-border-right-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">4<o:p></o:p></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">2001</span><span
                        style="font-family: 宋体;">以上至<span lang="EN-US">5000<o:p></o:p></span></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">0.8<o:p></o:p></span></p>
            </td>
        </tr>
        <tr style="mso-yfti-irow:5;height:1.0pt">
            <td style="border:solid windowtext 1.0pt;border-top:none;mso-border-left-alt:
  solid windowtext .5pt;mso-border-bottom-alt:solid windowtext .5pt;mso-border-right-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">5<o:p></o:p></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">5001</span><span
                        style="font-family: 宋体;">以上至<span lang="EN-US">8000<o:p></o:p></span></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">0.4<o:p></o:p></span></p>
            </td>
        </tr>
        <tr style="mso-yfti-irow:6;height:1.0pt">
            <td style="border:solid windowtext 1.0pt;border-top:none;mso-border-left-alt:
  solid windowtext .5pt;mso-border-bottom-alt:solid windowtext .5pt;mso-border-right-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">6<o:p></o:p></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">8001</span><span
                        style="font-family: 宋体;">以上至<span lang="EN-US">10000<o:p></o:p></span></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">0.2<o:p></o:p></span></p>
            </td>
        </tr>
        <tr style="mso-yfti-irow:7;mso-yfti-lastrow:yes;height:1.0pt">
            <td style="border:solid windowtext 1.0pt;border-top:none;mso-border-left-alt:
  solid windowtext .5pt;mso-border-bottom-alt:solid windowtext .5pt;mso-border-right-alt:
  solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">7<o:p></o:p></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">10000</span><span
                        style="font-family: 宋体;">以上<span lang="EN-US"><o:p></o:p></span></span></p>
            </td>
            <td style="border-top:none;border-left:none;border-bottom:solid windowtext 1.0pt;
  border-right:solid windowtext 1.0pt;mso-border-bottom-alt:solid windowtext .5pt;
  mso-border-right-alt:solid windowtext .5pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:1.0pt">
                <p class="MsoNormal" align="left"><span lang="EN-US" style="font-family: 宋体;">0.1<o:p></o:p></span></p>
            </td>
        </tr>
        </tbody>
    </table>
    </p>

</div>

<div class="collect_div">
    <img id="collect_img" onclick="addCollectFun()" src="../img/un_collect.png">
    <div id="collect_txt" class="collect_txt">收藏</div>
</div>

<!-- Latest jQuery -->
<script src="../js/jweixin-1.3.2.js"></script>
<script src="../js/jquery-1.12.4.min.js"></script>
<script src="../js/common.js"></script>

<script>
    //-----------------公共变量-----------------
    var FWXM = "";
    var PGNR = "";
    var PGNR_JE = "";
    var PGNR_JEDX = "";
    var formula = "";
    var BZSF = "";
    var BZSFDS = "";

    var FDXS = "";

    var SFJE = "";
    var SFJEDS = "";

    function share_computation() {
        var r0 = ""
        var r1 = "服务项目:房产评估";
        var r2 = "评估值:" + PGNR_JE + "(" + PGNR_JEDX + ")";
        //var r6="计算公式:"+JSGS;
        var r3 = "标准收费=(" + formula + ")*10000=" + BZSF + "(" + BZSFDS + ")";
        var r4 = "浮动系数:" + FDXS + "%";
        //var r5="收费金额:"+SFJE+"("+SFJEDS+")";
        var r5 = "收费金额=标准收费*浮动系数=" + BZSF + "*" + getV("fdxs") + "%=" + SFJE + "(" + SFJEDS + ")";

        return r0 + "<br/><br/>" + r1 + "<br/><br/>" + r2 + "<br/><br/>" + r3 + "<br/><br/>" + r4 + "<br/><br/>" + r5;
    }

    function share_computation_web() {
        var str = share_computation();
        var e = new RegExp("<br/>", "g");
        var words = str.replace(e, "\n");
        var cc = new RegExp("%25", "g");
        words = words.replace(cc, "%");
        return words;
    }

    function getV(did) {
        return document.getElementById(did).value;
    }

    function getH(did) {
        return document.getElementById(did).innerHTML;
    }

    //-----------------公共变量-end-------------
    //键盘事件计算
    function context() {

        var srzrXS = document.getElementById("srzrXS").value;
        if (srzrXS.length == 0) {
            return false;
        }

        var srzrDS = convertCurrency(srzrXS);
        if ("404" != srzrDS) {
            document.getElementById("srzrDS").innerHTML = srzrDS;
        }
        PGNR_JE = srzrXS;
        PGNR_JEDX = srzrDS;

        //----------计算1------------
        var A = parseFloat(srzrXS);
        var value = getCount(A);

        var str = parseFloat(value).toFixed(2);
        var strDS = convertCurrency(str);
        document.getElementById("bzsfSX").innerHTML = "￥" + str;//标准收费小写
        document.getElementById("bzsfDX").innerHTML = strDS;//标准收费大写

        BZSF = str;
        BZSFDS = strDS;

        //浮动比例
        var fdxs = document.getElementById("fdxs").value;
        FDXS = fdxs;
        if (fdxs.length == 0) {
            return false;
        }
        var fdxs = parseFloat(fdxs) / 100;

        var moneyff = str * fdxs;//收费金额
        moneyff = parseFloat(moneyff).toFixed(2);
        var moneyffDS = convertCurrency(moneyff);
        document.getElementById("sfjrXS").innerHTML = "￥" + moneyff;//收费金额小写
        document.getElementById("sfjrDS").innerHTML = moneyffDS;//收费金额大写
        SFJE = moneyff;
        SFJEDS = moneyffDS;
        //-----------计算1--------------------

        showProcess();

        //显示计算过程
        document.getElementById("process").innerHTML = "<h3>小程序：计费宝</h3>" + share_computation();
    }


    //解散、破产企业清算审计、变更验资
    function getCount(A) {
        var count = 0.00;
        A = A / 10000;

        if (A <= 100) {
            count = A * 0.005;
            formula = "" + A + "*0.005";
        } else if (A <= 1000) {
            count = 100 * 0.005 + (A - 100) * 0.0025;
            formula = "100*0.005+(" + A + "-100)*0.0025";
        } else if (A <= 2000) {
            count = 100 * 0.005 + 900 * 0.0025 + (A - 1000) * 0.0015;
            formula = "100*0.005+900*0.0025+(" + A + "-1000)*0.0015";
        } else if (A <= 5000) {
            count = 100 * 0.005 + 900 * 0.0025 + 1000 * 0.0015 + (A - 2000) * 0.0008;
            formula = "100*0.005+900*0.0025+1000*0.0015+(" + A + "-2000)*0.0008";
        } else if (A <= 8000) {
            count = 100 * 0.005 + 900 * 0.0025 + 1000 * 0.0015 + 3000 * 0.0008 + (A - 5000) * 0.0004;
            formula = "100*0.005+900*0.0025+1000*0.0015+3000*0.0008+(" + A + "-5000)*0.0004";
        } else if (A <= 10000) {
            count = 100 * 0.005 + 900 * 0.0025 + 1000 * 0.0015 + 3000 * 0.0008 + 3000 * 0.0004 + (A - 8000) * 0.0002;
            formula = "100*0.005+900*0.0025+1000*0.0015+3000*0.0008+3000*0.0004+(" + A + "-8000)*0.0002";
        } else if (A > 10000) {
            count = 100 * 0.005 + 900 * 0.0025 + 1000 * 0.0015 + 3000 * 0.0008 + 3000 * 0.0004 + 2000 * 0.0002 + (A - 10000) * 0.0001;
            formula = "100*0.005+900*0.0025+1000*0.0015+3000*0.0008+3000*0.0004+2000*0.0002+(" + A + "-10000)*0.0001";
        }
        //return count*10000;
        return count * 10000;
    }

    function convertCurrency(currencyDigits) {
// Constants:
        var MAXIMUM_NUMBER = 999999999999999999.99;
// Predefine the radix characters and currency symbols for output:
        var CN_ZERO = "零";
        var CN_ONE = "壹";
        var CN_TWO = "贰";
        var CN_THREE = "叁";
        var CN_FOUR = "肆";
        var CN_FIVE = "伍";
        var CN_SIX = "陆";
        var CN_SEVEN = "柒";
        var CN_EIGHT = "捌";
        var CN_NINE = "玖";
        var CN_TEN = "拾";
        var CN_HUNDRED = "佰";
        var CN_THOUSAND = "仟";
        var CN_TEN_THOUSAND = "万";
        var CN_HUNDRED_MILLION = "亿";
        var CN_SYMBOL = "";
        var CN_DOLLAR = "元";
        var CN_TEN_CENT = "角";
        var CN_CENT = "分";
        var CN_INTEGER = "整";

// Variables:
        var integral; // Represent integral part of digit number.
        var decimal; // Represent decimal part of digit number.
        var outputCharacters; // The output result.
        var parts;
        var digits, radices, bigRadices, decimals;
        var zeroCount;
        var i, p, d;
        var quotient, modulus;

// Validate input string:
        currencyDigits = currencyDigits.toString();
        if (currencyDigits == "") {
            alert("输入项为空");
            return "";
        }
        if (currencyDigits.match(/[^,.\d]/) != null) {
            //alert("Invalid characters in the input string!");
            alert("非法输入");
            return "";
        }
        if ((currencyDigits).match(/^((\d{1,3}(,\d{3})*(.((\d{3},)*\d{1,3}))?)|(\d+(.\d+)?))$/) == null) {
            //alert("Illegal format of digit number!");
            return "404";
        }

//小数点截取,如果小数为0就取整
        if (currencyDigits.indexOf(".00") > 0) {
            currencyDigits = currencyDigits.substr(0, currencyDigits.indexOf('.'));
        }

// Normalize the format of input digits:
        currencyDigits = currencyDigits.replace(/,/g, ""); // Remove comma delimiters.
        currencyDigits = currencyDigits.replace(/^0+/, ""); // Trim zeros at the beginning.
// Assert the number is not greater than the maximum number.
        if (Number(currencyDigits) > MAXIMUM_NUMBER) {
            alert("Too large a number to convert!");
            return "";
        }

// Process the coversion from currency digits to characters:
// Separate integral and decimal parts before processing coversion:
        parts = currencyDigits.split(".");
        if (parts.length > 1) {
            integral = parts[0];
            decimal = parts[1];
            // Cut down redundant decimal digits that are after the second.
            decimal = decimal.substr(0, 2);
        } else {
            integral = parts[0];
            decimal = "";
        }
// Prepare the characters corresponding to the digits:
        digits = new Array(CN_ZERO, CN_ONE, CN_TWO, CN_THREE, CN_FOUR, CN_FIVE, CN_SIX, CN_SEVEN, CN_EIGHT, CN_NINE);
        radices = new Array("", CN_TEN, CN_HUNDRED, CN_THOUSAND);
        bigRadices = new Array("", CN_TEN_THOUSAND, CN_HUNDRED_MILLION);
        decimals = new Array(CN_TEN_CENT, CN_CENT);
// Start processing:
        outputCharacters = "";
// Process integral part if it is larger than 0:
        if (Number(integral) > 0) {
            zeroCount = 0;
            for (i = 0; i < integral.length; i++) {
                p = integral.length - i - 1;
                d = integral.substr(i, 1);
                quotient = p / 4;
                modulus = p % 4;
                if (d == "0") {
                    zeroCount++;
                } else {
                    if (zeroCount > 0) {
                        outputCharacters += digits[0];
                    }
                    zeroCount = 0;
                    outputCharacters += digits[Number(d)] + radices[modulus];
                }
                if (modulus == 0 && zeroCount < 4) {
                    outputCharacters += bigRadices[quotient];
                }
            }
            outputCharacters += CN_DOLLAR;
        }
// Process decimal part if there is:
        if (decimal != "") {
            for (i = 0; i < decimal.length; i++) {
                d = decimal.substr(i, 1);
                if (d != "0") {
                    outputCharacters += digits[Number(d)] + decimals[i];
                }
            }
        }
// Confirm and return the final output string:
        if (outputCharacters == "") {
            outputCharacters = CN_ZERO + CN_DOLLAR;
        }
        if (decimal == "") {
            outputCharacters += CN_INTEGER;
        }
        outputCharacters = CN_SYMBOL + outputCharacters;
        return outputCharacters;
    }
</script>
</body>
</html>
